﻿using YAPACS.BusinessObjects.Exams;
using YAPACS.RisServer.Services.Dtos;

namespace YAPACS.RisServer.Abstractions;

public interface IExamQueueService
{
    Task<ExamQueuing> CreateExamQueuingAsync(Exam exam, bool isArrived = false);

    Task<IList<WaitingQueueDto>> GetDepartmentWaitingQueuesAsync(string departmentCode);

    Task<IList<CallingQueuingDto>> GetDepartmentCallingQueuesAsync(string departmentCode);

    Task<IList<WaitingQueueDto>> GetStationWaitingQueuesAsync(string stationCode);

    Task<IList<CallingQueuingDto>> GetStationCallingQueuesAsync(string stationCode);

    Task RemoveCallingQueueAsync(Guid queueId);
}
